package com.pdg.mcplugin.common.baseclasses;

import java.util.logging.Logger;

import com.pdg.mcplugin.common.interfaces.PluginClient;

public class PluginClientBase<E extends PluginBase> implements PluginClient<E> {
	private E plugin;

	public PluginClientBase(E thePlugin){
		setPlugin(thePlugin);
	}

	private void setPlugin(E thePlugin) {
		plugin = thePlugin;
	}

	public E getPlugin(){
		return plugin;
	}
	
	public Logger getLogger(){
		return getPlugin().getLogger();
	}
}
